package com.whfc.openapi.api.base;

import com.whfc.common.result.Result;
import com.whfc.common.result.ResultUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: sun
 * @version: v1.0.0
 * @since 2022/6/15
 */
@RestController
@RequestMapping("/open/api/health")
public class HealthController {

    /**
     * 健康检查
     *
     * @return
     */
    @GetMapping("/anon/check")
    public Result health() {
        return ResultUtil.success();
    }
}
